package org.maxgroundstation.world.landmark;

/**
 * Holds information about a landmark.
 * @author Scott Davis
 * 
 * Copyright (C) 2012  Scott Davis
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
public class Landmark {

    // Data members
    private String name;
    private String description;
    private double latitude;
    private double longitude;
    
    /**
     * Constructor
     * @param name the landmark name.
     * @param description the landmark description.
     * @param latitude the landmark latitude.
     * @param longitude the landmark longitude.
     */
    public Landmark(String name, String description, double latitude, double longitude) {
        // Initialize data members.
        this.name = name;
        this.description = description;
        this.latitude = latitude;
        this.longitude = longitude;
    }
    
    /**
     * Gets the landmark name.
     * @return name.
     */
    public String getName() {
        return name;
    }

    /**
     * Gets the landmark description.
     * @return description.
     */
    public String getDescription() {
        return description;
    }

    /**
     * Gets the landmark latitude.
     * @return latitude (degrees).
     */
    public double getLatitude() {
        return latitude;
    }

    /**
     * Gets the landmark longitude.
     * @return longitude (degrees).
     */
    public double getLongitude() {
        return longitude;
    }
}